<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:f="http://xmlns.jcp.org/jsf/core">
<h:head>布局页面</h:head>
<h:body>
    <!--设置列值为4-->
    <h2>布局标签</h2>
    <h:panelGrid columns="3" border="2" cellpadding="3" cellspacing="5">
        <f:facet name="header"> this is ..... </f:facet>
        <h:outputText value="123"/>
        <h:outputText value="456"/>
        <h:outputText value="789"/>

        <h:panelGroup>
            <h:outputText value="789"/>
            <h:outputText value="000"/>
        </h:panelGroup>

        <h:outputText value="123"/>
        <h:outputText value="456"/>
        <h:outputText value="789"/>

        <f:facet name="footer"/>
    </h:panelGrid>
</h:body>
</html>
